package com.ztx.model;

import java.util.HashSet;
import java.util.Set;

public class ResourceVO {

	private String id;
	private String name;
	private String remark;
	private String icon;
	private String url;
	private int seq;
	private String pid;
	private String resourceTypeId;

	private ResourceType resourceType;
	private Set<ResourceVO> resources = new HashSet<ResourceVO>();
	private Set<RoleVO> roles = new HashSet<RoleVO>();

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getSeq() {
		return seq;
	}

	public void setSeq(int seq) {
		this.seq = seq;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public ResourceType getResourceType() {
		return resourceType;
	}

	public void setResourceType(ResourceType resourceType) {
		this.resourceType = resourceType;
	}

	public Set<ResourceVO> getResources() {
		return resources;
	}

	public void setResources(Set<ResourceVO> resources) {
		this.resources = resources;
	}

	public Set<RoleVO> getRoles() {
		return roles;
	}

	public void setRoles(Set<RoleVO> roles) {
		this.roles = roles;
	}

	public String getResourceTypeId() {
		return resourceTypeId;
	}

	public void setResourceTypeId(String resourceTypeId) {
		this.resourceTypeId = resourceTypeId;
	}

}
